Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixup build with qt6 #3

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

neochapay
Copy link

No description provided.

Copy link
Contributor

@pvuorela pvuorela left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Here I'd also first introduce a version using new api provided by Qt 5.14.

resourceqt-client/commandlineparser.cpp Outdated Show resolved Hide resolved
resourceqt-client/client.cpp Outdated Show resolved Hide resolved
resourceqt-client/client.cpp Show resolved Hide resolved
libresourceqt/src/resource-set.cpp Outdated Show resolved Hide resolved
QMutexLocker locker(&mutex);
#else
mutex.lock();
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not following why this change? Different behavior too, nothing releases the mutex when the function is exited? Doesn't feel proper.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Was resolved without explanation, unresolving.

QRecursiveMutex is Qt 5.14 so using that would be better, but I'm not following why a recursive mutex would be needed because of Qt version.

And then QMutexLocker works with a recursive mutex too so I'm not following why these explicit locks which are even missing the unlocks.

Copy link
Contributor

@pvuorela pvuorela left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Still pending review comments here.

@neochapay neochapay force-pushed the qt6 branch 2 times, most recently from d740afb to 1987e91 Compare August 18, 2024 08:21
@neochapay
Copy link
Author

@pvuorela fixed

@neochapay neochapay force-pushed the qt6 branch 4 times, most recently from 9617e4f to bc26e97 Compare August 18, 2024 08:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants